#ifndef __HEAD_H__
#define __HEAD_H__

//#define SENT_PEOPLE_FLAG _IOW('w',1,int)//发送人体红外监测标志功能码
#define SENT_PEOPLE_COUNT _IOW('w',2,int)//发送人数功能码

#define ERR_MSG(msg) do{\
	fprintf(stderr,"line:%d\t%s\t%s\n",__LINE__,__FILE__,__func__);\
	perror(msg);\
}while(0)


#endif

